<?php $public_application = $this->config->item('public_application');?>
<div class="main-bg clearfix">
  <div class="container main-box clearfix make3-box" style="max-width:970px;">	 
	<div class="row">
	  <div class="col-md-8 col-md-offset-4 clearfix">
				<h2 class="org-red pull-left">选择品牌书模版</h2>
				<span class="pull-right mt-2em check-already-book-btn"><a href="<?php echo site_url("ecard/ecardList");?>" class="org-red"><span class="glyphicon glyphicon-eye-open "></span> 查看已有品牌书</span></a>
	  </div>
	</div>
	<div class="row">
		  <?php
			if($ecards){
				foreach($ecards as $card){
		 ?>
		  <div class="col-md-3 col-sm-3  col-md-offset-0 col-sm-offset-0 col-xs-6">
            <div class="make3-book-box center-block text-center">
		        <img src="<?php echo base_url($card['thumb']);?>" class="center-block img-responsive" />
		        <a href="<?php echo site_url('ecard/makeEcard/'.$card['id'])?>" class="btn btn-danger btn-sm btn2">使用此模版</a>
		        <div class="clearfix text-left under-desc">
		           <strong><?php echo $card['title'];?>：</strong><?php echo $card['info'];?>
                </div>
             </div>
		  </div>

		<?php
				}
			}
		  ?>
	</div>	 
	  <p class="text-center"><a href="" ><img src="<?php echo base_url($public_application."images/more-bt1.png")?>" /></a></p>
	  
	</div>
</div>

